-- GENERATED SPELL FOR [Loque'nahak] --


function spell0_32517(pUnit, Event) --@Pounce,n/a--
pUnit:FullCastSpellOnTarget(61184,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32517', 9500, 1)
end

function Sorts_32517(pUnit, Event)
local choix_sorts_32517 = math.random(0, 0)
if choix_sorts_32517 == 0 then
pUnit:RegisterEvent('spell0_32517', 1, 1)
end
end

function mob32517_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32517', math.random(1500, 3000), 1)
end

function mob32517_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32517_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32517_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32517, 1, 'mob32517_Action')
RegisterUnitEvent(32517, 2, 'mob32517_Leave')
RegisterUnitEvent(32517, 3, 'mob32517_Kill')
RegisterUnitEvent(32517, 4, 'mob32517_Die')
